<div class="bjui-pageHeader">
        <form id="pagerForm" data-toggle="ajaxsearch" action="{url}" method="post">
                <input type="hidden" name="pageSize" value="{$numPerPage}" >
                <input type="hidden" name="pageCurrent" value="{$currentPage}">
                <input type="hidden" name="orderField" value="{$orderField}">
                <input type="hidden" name="orderDirection" value="{$orderDirection}">

                <label>点评内容关键字：</label>
                <input name="content" type="text" value="{$_REQUEST.content|default=''}" class="form-control" size="20" />
                <label>线路ID：</label>
                <input name="tours_id" type="text" value="{$_REQUEST.tours_id|default=''}" class="form-control" size="10" />
                <label>点评id：</label>     
                <input name="id" type="text" value="{$_REQUEST.id|default=''}" class="form-control" size="10" />
                <label>状态：</label>
                <select name="status" class="combox" data-toggle="selectpicker" >
                        <option value="" >请选择</option>
                        <option value="1" {eq name="_REQUEST.status|default=''" value="1"}selected{/eq}>已审核</option>
                        <option value="0" {eq name="_REQUEST.status|default=''" value="0"}selected{/eq}>待审核</option>
                </select>
                <label>是否计入总分：</label>
                <select name="jifen" class="combox" data-toggle="selectpicker" >
                        <option value="" >请选择</option>
                        <option value="1" {eq name="_REQUEST.jifen|default=''" value="1"}selected{/eq}>已计入</option>
                        <option value="0" {eq name="_REQUEST.jifen|default=''" value="0"}selected{/eq}>待计入</option>
                </select>
                <button type="submit"  class="btn-default" data-icon="search">查询</button>
                <a class="btn btn-orange" href="javascript:;" onclick="$(this).navtab('reloadForm', true);" data-icon="undo">清空查询</a>
                <div class="bjui-searchBar">
                        <ul >
                                <li>
                                        <a href="{:U('Sales/comment_add')}" class="btn btn-green" data-toggle="dialog"  data-mask="true" data-height="600" data-id="dialog-mask">新增评论</a>
                                        <a href="{:U('Sales/comment_del')}" data-idname="id" data-group="id"  class="btn btn-red" data-toggle="doajaxchecked"  data-confirm-msg="确定要删除选中的信息吗？">删除选中</a>
                                </li>
                        </ul>
                </div>
        </form>

</div>

<div class="bjui-pageContent">
        <table data-toggle="tablefixed" data-width="100%" data-layout-h="0" data-nowrap="true">
                <thead>
                        <tr>

                                <th width="20"><input type="checkbox" class="checkboxCtrl" data-group="id" data-toggle="icheck"></th>
                                <th width="30" align="center">ID</th>
                                <th>线路标题</th>
                                <th >点评方式</th>
                                <th>点评内容</th>
                                <th align="center" width="40" >行程</th>
                                <th align="center" width="40" >交通</th>
                                <th align="center" width="40" >导游</th>
                                <th align="center" width="40" >住宿</th>
                                <th align="center" width="40" >用餐</th>
                                <th align="center" width="40" >客服</th>
                                <th align="center" width="60">满意度</th>
                                <th align="center" width="80">提交人</th>
                                <th align="center" width="80">审核状态</th>
                                <th align="center" width="80">计分状态</th>
                                <th align="center" width="110">更新时间</th>
                                <th width="150">操作</th>
                        </tr>
                </thead>
                <tbody>
                        {neq name="list" value=''}
                        {volist name="list" id="vo"}
                        <tr>
                                <td>
                                        <input type="checkbox" name="id" data-toggle="icheck" value="{$vo.id}">
                                </td>
                                <td>{$vo.id}</td>
                                <td>
                                        <a href="{:U('/xianlu/' . $vo['tours_id'] . '@www', '', '')}" target="_blank">{$vo.tours_name|msubstr=25}...</a>
                                </td>
                                <td>
                                        {eq name="vo.type" value="1"} 在线点评{/eq}
                                        {eq name="vo.type" value="2"} 短信点评{/eq}
                                        {eq name="vo.type" value="3"} 电话回访{/eq}
                                </td>
                                <td>
                                        {$vo.content|msubstr=25}...
                                </td>
                                <td align="center">&nbsp;
                                        {$vo.xingcheng|default='0'}
                                </td>
                                <td align="center">&nbsp;
                                        {$vo.jiaotong|default='0'}
                                </td>
                                <td align="center">&nbsp;
                                        {$vo.daoyou|default='0'}
                                </td>
                                <td align="center">&nbsp;
                                        {$vo.zhusu|default='0'}
                                </td>
                                <td align="center">&nbsp;
                                        {$vo.yongcan|default='0'}
                                </td>
                                <td align="center">&nbsp;
                                        {$vo.kefu|default='0'}
                                </td>
                                <td align="center">
                                        {$vo.manyi|default='0'}%
                                </td>
                                <td align="center">
                                        {$vo.user_name}
                                </td>
                                <td align="center">
                                        {eq name="vo['status']" value="1"}<img src="__ADMIN__theme/image/green.gif" alt="正常" align="absmiddle" />{/eq}  
                                        {eq name="vo['status']" value="0"}<img src="__ADMIN__theme/image/red.gif" alt="禁用" align="absmiddle" />{/eq} 
                                </td>
                                 <td align="center">
                                        {eq name="vo['jifen']" value="1"}已计入{/eq}  
                                        {eq name="vo['jifen']" value="0"}待计入{/eq} 
                                </td>
                                
                                <td align="center">
                                        {$vo.update_time|date="Y-m-d",###}
                                </td>
                                <td>
                                        <a href="{:U('Sales/comment_add?id='.$vo['id'])}" class="btn btn-green" data-height="600" data-toggle="dialog" data-mask='true' data-id="dialog-mask" data-title="编辑账号">编辑</a>
                                         <a href="{:U('Sales/comment_score?id='.$vo['id'])}"  class="btn btn-orange" data-toggle="doajax" data-confirm-msg="计分后将不可撤销，确定要记入线路总分？">计分</a>
                                        <a href="{:U('Sales/comment_del?id='.$vo['id'])}"  class="btn btn-red" data-toggle="doajax" data-confirm-msg="确定要删除该行信息吗？">删除</a>
                                </td>

                        </tr>
                        {/volist}
                        {else /}
                        <tr><td colspan="16" align="center">暂无记录</td></tr>
                        {/neq}
                </tbody>
        </table>

</div>
<div class="bjui-pageFooter">
        <div class="pages">
                <span> 每页&nbsp;</span>
                <div class="selectPagesize">
                        <select data-toggle="selectpicker" data-toggle-change="changepagesize" class="show-tick" >
                                <option {eq name="numPerPage" value="20"} selected="selected" {/eq} value="20">20</option>
                                <option {eq name='numPerPage' value='40'} selected="selected" {/eq} value="40">40</option>
                                <option {eq name='numPerPage' value='120'} selected="selected" {/eq} value="120">120</option>
                                <option {eq name='numPerPage' value='150'} selected="selected" {/eq} value="150">150</option>
                        </select>
                </div>
                <span>&nbsp;条,共 {$totalCount} 条 </span>


        </div>
        <div class="pagination-box" data-toggle="pagination" data-total="{$totalCount}" data-page-size="{$numPerPage}" data-page-current="{$currentPage}">
        </div>
</div>


